/**
 * 项目名称：MSHF
 * 包名称：com.mt.edu.domain
 * 文件名称：ClassHour.java
 */
package com.mt.edu.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 类名称：ClassHour <br>
 * 类描述： 课时信息<br>
 * 创建人： 马腾 <br>
 * 创建时间：Apr 29, 2014 9:45:31 PM <br>
 * 修改人： 马腾 <br>
 * 修改时间：Apr 29, 2014 9:45:31 PM <br>
 */
@Entity
@Table(name = "OL_COURSE_SECTION")
public class CourseSection implements Serializable {
	
	private static final long serialVersionUID = -8548779492067147773L;

	@Id
	@Column(name = "SECTION_ID")
	private String id;
	
	@Column(name = "SECTION_NAME")
	private String 	name;
	
	@Column(name = "SECTION_DESC")
	private String desc;
	
	@Column(name = "BEGIN_TIME")
	private Date beginTime;
	
	@Column(name = "END_TIME")
	private Date endTime;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "GRADE_ID")
	private Grade grade;
	
	@Column(name = "CREATE_DT")
	private Date createDt;
	
	@Column(name = "UPDATE_DT")
	private Date updateDt; 
	
	@Column(name = "OPERATOR")
	private String operator;
	
	@Column(name = "RESERVED1")
	private String reserved1;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Grade getGrade() {
		return grade;
	}

	public void setGrade(Grade grade) {
		this.grade = grade;
	}

	public Date getCreateDt() {
		return createDt;
	}

	public void setCreateDt(Date createDt) {
		this.createDt = createDt;
	}

	public Date getUpdateDt() {
		return updateDt;
	}

	public void setUpdateDt(Date updateDt) {
		this.updateDt = updateDt;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}
	
}
